package com.cictec.middleware.tde.rm.protocol.rm.message;

import com.cictec.middleware.tde.rm.protocol.TerminalMessage;

/**
 * 0x0A 福田电动车消息
 * @author yy
 *
 */
public class Rm0x0ATerminalMessage extends TerminalMessage{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1642904732778284258L;

	private String uuid;//uuid
	
	private int contractNumber;//协议编号
	private double lat;//纬度
	private double lgt;//经度
	private int directionngle;//方向角
	private int theAltitude;//海拔高度
	private int speedNO;//速度
	private int canLength; //CanBus信息长度
	private int reserved;//预留
	
	private int reserved1;//预留
	private int reserved2;//预留
	private int reserved3;//预留
	private int reserved4;//预留
	
	private int reservedBit1;//预留
	private int reservedBit2;//预留
	private int reservedBit3;//预留
	private int reservedBit4;//预留
	private int reservedBit5;//预留
	private int reservedBit6;//预留
	private int reservedBit7;//预留
	private int reservedBit8;//预留

	
	private long id1;//预留
	private long id2;//预留
	private long id3;//预留
	
	private int pressure1; //气压1（前桥气压）
	private int pressure2; //气压2（后桥气压）
	private int chargingHatchState; //充电舱门状态
	private int theRearState; //后舱门状态
	private int reverseSignals; //倒车信号
	private int handBrakeSignal; //手刹信号
	private int theKeyBand; //钥匙2档
	private int theFrontDoor; //前门状态
	private int inTheDoor; //中门/安全门状态
	private int instrumentSystem; //仪表系统故障（连续10秒接收不到仪表累计里程报文）
	private int voltage; //24V蓄电池电压低（电池电压报警持续10秒有效）
	private int theBackDoor; //后门状态
	
	private int mileage; //总里程
	private int speed ; //车速
	
	private int leftTurnSignal; //左转向灯（开关量）
	private int rightTurnSignal; //右转向灯（开关量）
	private int beforeFogLamps; //前雾灯（开关量）
	private int afterFogLamps; //后雾灯（开关量）
	private int brakeLights; //刹车灯（开关量）
	private int brakeAlarmSignal; //制动报警信号（暂无）
	private int pressure1Alarm; //气压1报警
	private int brakingPressure; //中桥制动气压报警信号（气压5报警）
	private int pressure2Alarm; //气压2报警
	private int electricHorn; //电喇叭（开关量）
	private int SuperLightSignal; //超车灯信号（远光灯开关有效开始3秒钟之内操作二次及以上远光灯）
	private int highBeam; //远光灯（开关量）
	private int dippedHeadlight; //近光灯（开关量）
	private int smallLights; //小灯（开关量）
	private int dangerSignals; //危险信号（开关量） 
	private int emergencyValve; //门泵应急阀开关报警 （前门/中门/后门/左前门/左中门/左后门应急报警）
	private int keysONFile; //钥匙ON档 
	private int keysACCFile; //钥匙ACC档 
	private int ABS; //ABS（表显） 
	private int ASR; //ASR（表显）
	private int defrost; //除霜1/除霜2
	private int airConditioningPower; //空调电源 
	private int waterLevel; //水位报警 
	
	
	public Rm0x0ATerminalMessage(Header header) {
		super(header);
		// TODO Auto-generated constructor stub
	}


	public int getPressure1() {
		return pressure1;
	}


	public void setPressure1(int pressure1) {
		this.pressure1 = pressure1;
	}


	public int getPressure2() {
		return pressure2;
	}


	public void setPressure2(int pressure2) {
		this.pressure2 = pressure2;
	}


	public int getChargingHatchState() {
		return chargingHatchState;
	}


	public void setChargingHatchState(int chargingHatchState) {
		this.chargingHatchState = chargingHatchState;
	}


	public int getTheRearState() {
		return theRearState;
	}


	public void setTheRearState(int theRearState) {
		this.theRearState = theRearState;
	}


	public int getReverseSignals() {
		return reverseSignals;
	}


	public void setReverseSignals(int reverseSignals) {
		this.reverseSignals = reverseSignals;
	}


	public int getHandBrakeSignal() {
		return handBrakeSignal;
	}


	public void setHandBrakeSignal(int handBrakeSignal) {
		this.handBrakeSignal = handBrakeSignal;
	}


	public int getTheKeyBand() {
		return theKeyBand;
	}


	public void setTheKeyBand(int theKeyBand) {
		this.theKeyBand = theKeyBand;
	}


	public int getTheFrontDoor() {
		return theFrontDoor;
	}


	public void setTheFrontDoor(int theFrontDoor) {
		this.theFrontDoor = theFrontDoor;
	}


	public int getInTheDoor() {
		return inTheDoor;
	}


	public void setInTheDoor(int inTheDoor) {
		this.inTheDoor = inTheDoor;
	}


	public int getInstrumentSystem() {
		return instrumentSystem;
	}


	public void setInstrumentSystem(int instrumentSystem) {
		this.instrumentSystem = instrumentSystem;
	}


	public int getVoltage() {
		return voltage;
	}


	public void setVoltage(int voltage) {
		this.voltage = voltage;
	}


	public int getTheBackDoor() {
		return theBackDoor;
	}


	public void setTheBackDoor(int theBackDoor) {
		this.theBackDoor = theBackDoor;
	}


	public int getMileage() {
		return mileage;
	}


	public void setMileage(int mileage) {
		this.mileage = mileage;
	}


	public int getSpeed() {
		return speed;
	}


	public void setSpeed(int speed) {
		this.speed = speed;
	}


	public int getLeftTurnSignal() {
		return leftTurnSignal;
	}


	public void setLeftTurnSignal(int leftTurnSignal) {
		this.leftTurnSignal = leftTurnSignal;
	}


	public int getRightTurnSignal() {
		return rightTurnSignal;
	}


	public void setRightTurnSignal(int rightTurnSignal) {
		this.rightTurnSignal = rightTurnSignal;
	}


	public int getBeforeFogLamps() {
		return beforeFogLamps;
	}


	public void setBeforeFogLamps(int beforeFogLamps) {
		this.beforeFogLamps = beforeFogLamps;
	}


	public int getAfterFogLamps() {
		return afterFogLamps;
	}


	public void setAfterFogLamps(int afterFogLamps) {
		this.afterFogLamps = afterFogLamps;
	}


	public int getBrakeLights() {
		return brakeLights;
	}


	public void setBrakeLights(int brakeLights) {
		this.brakeLights = brakeLights;
	}


	public int getBrakeAlarmSignal() {
		return brakeAlarmSignal;
	}


	public void setBrakeAlarmSignal(int brakeAlarmSignal) {
		this.brakeAlarmSignal = brakeAlarmSignal;
	}


	public int getPressure1Alarm() {
		return pressure1Alarm;
	}


	public void setPressure1Alarm(int pressure1Alarm) {
		this.pressure1Alarm = pressure1Alarm;
	}


	public int getBrakingPressure() {
		return brakingPressure;
	}


	public void setBrakingPressure(int brakingPressure) {
		this.brakingPressure = brakingPressure;
	}


	public int getPressure2Alarm() {
		return pressure2Alarm;
	}


	public void setPressure2Alarm(int pressure2Alarm) {
		this.pressure2Alarm = pressure2Alarm;
	}


	public int getElectricHorn() {
		return electricHorn;
	}


	public void setElectricHorn(int electricHorn) {
		this.electricHorn = electricHorn;
	}


	public int getSuperLightSignal() {
		return SuperLightSignal;
	}


	public void setSuperLightSignal(int superLightSignal) {
		SuperLightSignal = superLightSignal;
	}


	public int getHighBeam() {
		return highBeam;
	}


	public void setHighBeam(int highBeam) {
		this.highBeam = highBeam;
	}


	public int getDippedHeadlight() {
		return dippedHeadlight;
	}


	public void setDippedHeadlight(int dippedHeadlight) {
		this.dippedHeadlight = dippedHeadlight;
	}


	public int getSmallLights() {
		return smallLights;
	}


	public void setSmallLights(int smallLights) {
		this.smallLights = smallLights;
	}


	public int getDangerSignals() {
		return dangerSignals;
	}


	public void setDangerSignals(int dangerSignals) {
		this.dangerSignals = dangerSignals;
	}


	public int getEmergencyValve() {
		return emergencyValve;
	}


	public void setEmergencyValve(int emergencyValve) {
		this.emergencyValve = emergencyValve;
	}


	public int getKeysONFile() {
		return keysONFile;
	}


	public void setKeysONFile(int keysONFile) {
		this.keysONFile = keysONFile;
	}


	public int getKeysACCFile() {
		return keysACCFile;
	}


	public void setKeysACCFile(int keysACCFile) {
		this.keysACCFile = keysACCFile;
	}


	public int getABS() {
		return ABS;
	}


	public void setABS(int aBS) {
		ABS = aBS;
	}


	public int getASR() {
		return ASR;
	}


	public void setASR(int aSR) {
		ASR = aSR;
	}


	public int getDefrost() {
		return defrost;
	}


	public void setDefrost(int defrost) {
		this.defrost = defrost;
	}


	public int getAirConditioningPower() {
		return airConditioningPower;
	}


	public void setAirConditioningPower(int airConditioningPower) {
		this.airConditioningPower = airConditioningPower;
	}


	public int getWaterLevel() {
		return waterLevel;
	}


	public void setWaterLevel(int waterLevel) {
		this.waterLevel = waterLevel;
	}
	
	

	public int getContractNumber() {
		return contractNumber;
	}


	public void setContractNumber(int contractNumber) {
		this.contractNumber = contractNumber;
	}


	public double getLat() {
		return lat;
	}


	public void setLat(double lat) {
		this.lat = lat;
	}


	public double getLgt() {
		return lgt;
	}


	public void setLgt(double lgt) {
		this.lgt = lgt;
	}


	public int getSpeedNO() {
		return speedNO;
	}


	public void setSpeedNO(int speedNO) {
		this.speedNO = speedNO;
	}


	public int getDirectionngle() {
		return directionngle;
	}


	public void setDirectionngle(int directionngle) {
		this.directionngle = directionngle;
	}


	public int getTheAltitude() {
		return theAltitude;
	}


	public void setTheAltitude(int theAltitude) {
		this.theAltitude = theAltitude;
	}


	public int getReserved() {
		return reserved;
	}


	public void setReserved(int reserved) {
		this.reserved = reserved;
	}
	
	
	public int getCanLength() {
		return canLength;
	}


	public void setCanLength(int canLength) {
		this.canLength = canLength;
	}

	
	
	public int getReserved1() {
		return reserved1;
	}


	public void setReserved1(int reserved1) {
		this.reserved1 = reserved1;
	}


	public int getReserved2() {
		return reserved2;
	}


	public void setReserved2(int reserved2) {
		this.reserved2 = reserved2;
	}


	public int getReserved3() {
		return reserved3;
	}


	public void setReserved3(int reserved3) {
		this.reserved3 = reserved3;
	}



	public long getId1() {
		return id1;
	}


	public void setId1(long id1) {
		this.id1 = id1;
	}


	public long getId2() {
		return id2;
	}


	public void setId2(long id2) {
		this.id2 = id2;
	}


	public long getId3() {
		return id3;
	}


	public void setId3(long id3) {
		this.id3 = id3;
	}


	public int getReservedBit1() {
		return reservedBit1;
	}


	public void setReservedBit1(int reservedBit1) {
		this.reservedBit1 = reservedBit1;
	}


	public int getReservedBit2() {
		return reservedBit2;
	}


	public void setReservedBit2(int reservedBit2) {
		this.reservedBit2 = reservedBit2;
	}


	public int getReservedBit3() {
		return reservedBit3;
	}


	public void setReservedBit3(int reservedBit3) {
		this.reservedBit3 = reservedBit3;
	}


	public int getReservedBit4() {
		return reservedBit4;
	}


	public void setReservedBit4(int reservedBit4) {
		this.reservedBit4 = reservedBit4;
	}


	public int getReservedBit5() {
		return reservedBit5;
	}


	public void setReservedBit5(int reservedBit5) {
		this.reservedBit5 = reservedBit5;
	}


	public int getReservedBit6() {
		return reservedBit6;
	}


	public void setReservedBit6(int reservedBit6) {
		this.reservedBit6 = reservedBit6;
	}

	
	public int getReservedBit7() {
		return reservedBit7;
	}


	public void setReservedBit7(int reservedBit7) {
		this.reservedBit7 = reservedBit7;
	}


	public int getReservedBit8() {
		return reservedBit8;
	}


	public void setReservedBit8(int reservedBit8) {
		this.reservedBit8 = reservedBit8;
	}
	
	

	public String getUuid() {
		return uuid;
	}


	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

   
	public int getReserved4() {
		return reserved4;
	}


	public void setReserved4(int reserved4) {
		this.reserved4 = reserved4;
	}


	@Override
	public String toString() {
		return "TerminalElectricCars [contractNumber=" + contractNumber + ", lat=" + lat + ", lgt=" + lgt + ", speedNO="
				+ speedNO + ", directionngle=" + directionngle + ", theAltitude=" + theAltitude + ", canLength="
				+ canLength + ", reserved=" + reserved + ", reserved1=" + reserved1 + ", reserved2=" + reserved2
				+ ", reserved3=" + reserved3 + ", reservedBit1=" + reservedBit1 + ", reservedBit2=" + reservedBit2
				+ ", reservedBit3=" + reservedBit3 + ", reservedBit4=" + reservedBit4 + ", reservedBit5=" + reservedBit5
				+ ", reservedBit6=" + reservedBit6 + ", reservedBit7=" + reservedBit7 + ", reservedBit8=" + reservedBit8
				+ ", id1=" + id1 + ", id2=" + id2 + ", id3=" + id3 + ", pressure1=" + pressure1 + ", pressure2="
				+ pressure2 + ", chargingHatchState=" + chargingHatchState + ", theRearState=" + theRearState
				+ ", reverseSignals=" + reverseSignals + ", handBrakeSignal=" + handBrakeSignal + ", theKeyBand="
				+ theKeyBand + ", theFrontDoor=" + theFrontDoor + ", inTheDoor=" + inTheDoor + ", instrumentSystem="
				+ instrumentSystem + ", voltage=" + voltage + ", theBackDoor=" + theBackDoor + ", mileage=" + mileage
				+ ", speed=" + speed + ", leftTurnSignal=" + leftTurnSignal + ", rightTurnSignal=" + rightTurnSignal
				+ ", beforeFogLamps=" + beforeFogLamps + ", afterFogLamps=" + afterFogLamps + ", brakeLights="
				+ brakeLights + ", brakeAlarmSignal=" + brakeAlarmSignal + ", pressure1Alarm=" + pressure1Alarm
				+ ", brakingPressure=" + brakingPressure + ", pressure2Alarm=" + pressure2Alarm + ", electricHorn="
				+ electricHorn + ", SuperLightSignal=" + SuperLightSignal + ", highBeam=" + highBeam
				+ ", dippedHeadlight=" + dippedHeadlight + ", smallLights=" + smallLights + ", dangerSignals="
				+ dangerSignals + ", emergencyValve=" + emergencyValve + ", keysONFile=" + keysONFile + ", keysACCFile="
				+ keysACCFile + ", ABS=" + ABS + ", ASR=" + ASR + ", defrost=" + defrost + ", airConditioningPower="
				+ airConditioningPower + ", waterLevel=" + waterLevel + "]";
	}



	
	
}
